package com.wise.summer.v1.cms.content.advice;

import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.annotations.Publish;
import com.wise.framework.annotations.validation.NotBlank;
import com.wise.framework.summer.BasicSummer;
import lombok.Getter;
import lombok.Setter;

import static com.wise.model.content.ContentErrMsgs.Err_001000250046;

/**
 * @author Haoming Chen
 * Created on 2019/11/14
 */
@Getter
@Setter
@ApiInfo("更新推荐搜索关键字")
@Publish
public class UpdateAdvice extends BasicSummer<Boolean> {

    @ApiInfo("id")
    @NotBlank(msg = Err_001000250046)
    private String id;

    @ApiInfo("关键字")
    private String keyword;

    @ApiInfo("uri")
    private String uri;

    @ApiInfo("是否激活")
    private Integer isActivate;

    @ApiInfo("排序")
    private Integer sort;

}
